package com.example.daiyinuo.composite.component;

public abstract class OrganizationComponent {
    private String name;

    public OrganizationComponent(String name){
        this.name = name;
    }
    public String getName(){
        return name;
    }

    public abstract void add(OrganizationComponent organizationComponent);
    public abstract OrganizationComponent getChild(String name);
    public abstract int getStaffCount();


}
